package org.tity.test.java.lambda;

public class Lambda2 {
	
	public Lambda2()
	{
		
	}
	
	private void doo()
	{
		//是个接口就可以这么干
		new Thread(()->{
			 
			System.out.println("这里的this指向当前的Lambda2");
		}).start();
	}
	
	public static void main(String[] args) {
		new Lambda2().doo();
		
	//)->{System.out.println("3453455W");}
	}
	
}
